package vtt.android.cartoon_video.entities;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

import vtt.android.cartoon_video.Constants;
import vtt.android.cartoon_video.R;
import vtt.android.cartoon_video.database.CategoryDAO;
import android.content.Context;
import android.util.SparseArray;

public class CommonHashMap {

    
    public static int[] mTabColors = {
        R.color.blue_dark,  
        R.color.red_dark, 
        R.color.green_dark,  
        R.color.orange_dark,  
        R.color.purple_dark
    }; 
    
	/** background hashmap */
    public static int[] backgrounds =  {
		R.drawable.bg_image_1,
		R.drawable.bg_image_2,
		R.drawable.bg_image_3
	};
	
	/** get random background id */
	public static int getRandomBackgroundId() {
		Random random = new Random();
		int index = random.nextInt(backgrounds.length);
		return backgrounds[index];
	}
	
	/** get random background id */
    public static int getRandomColorId(Context context) {
        Random random = new Random();
        int index = random.nextInt(mTabColors.length);
        return mTabColors[index];
    }

}
